At the moment the code assumes an edge is either present or missing. Outer edges however can also be an exit!