elimination and output of all points and boxes for 2D