added removal of closeby halos