Disable avoid_crossing_perimeters optimization until we can detect nested shells. #1254