gaps are no covered by limitHeights
no edge type check if all edges are allowed
reduced topo distance