For the purpose of indirect search of dark matter, we designed laterally driven Dielectric Laser Acceleration (DLA) structure that achieves 1.2 MeV energy gain in 6 mm length together with 6D confinement. The design originated from a relativistic DLA structure and was supplemented with non-homogeneous shapes following the APF segments and optimized using a genetic algorithm together with the DLAtrack6D tracker. The achieved throughput could be increased to 98%