close box-polygons

if the polygon was a rectangle oriented north-south, it was not closed