added cuboid3 and remove_inside in 3D