this file loops through the halos and marks all surrounding halos on the slices