bound map locations to avoid awkward positions