debugged boundary()