Fix pillars creating more dead end (#147)

Must not let pillars overlap both other pillars
and the edge of the map