Removed bugs in bndCheck
Merge pull request #8 from krilor/master

Removed bugs in bndCheck