changed interface to avoid allocation and support larger voxel sizes