Change qfull() to check limits