particles won't go out of boundary