more memory efficient cartesian/spherical treatment