fix missing condition for boundless surfaces