calculate proper starting locations