Realistic 3D implementation of electrostatic elements for low energy machines