redid bounds on maxlocations to scale to any computer