Improved the ghost particles boundaries efficiency