} else if (dimension instanceof IDimension2DY) {
range = new Range2DYImpl();
trajectory = new Trajectory2DYImpl();
((IDimension2DY) dimension).getRangesList().add((IRange2DY) range);
} else if (dimension instanceof IDimensionEnergy) {
range = new RangeEnergyImpl();
trajectory = new TrajectoryEnergyImpl();
((IDimensionEnergy) dimension).getRangesEnergyList().add((IRangeEnergy) range);
} else if (dimension instanceof IDimension1D) {
range = new Range1DImpl();
trajectory = new Trajectory1DImpl();