make sure bounds is a square