changed max similar locations from 100 to 50