Solution to base problem for all locations.