added functions to find "twin" halos