simplify and clean some of the getIndentEdges