handle case of 1d with 1 point
handle edge case where vertex at center, test cuboid
added line case
1.1.2