add an escape route for cases where a gate is on all sides of a pipe