Finished debugging retrieval of cross-sections by drawing lines