treatBoundary is ready
Merge pull request #4 from POWER-Morzh/master

Fixed treatBoundary bug #2