Implemented other boundary checks.