validation for input bounding coordinates