fixed error with last particle not interacting much