Works for 3D; Higher dimensions WIP