Adding T structures for edgeMapDenseForward and edgeMapSparse