gpedaStep2d -- basic support for more than 2D