fixed boundary-finding bug