Distance
Further simplify scanRTEForColumn variables
simplify scanRTEForColumn variables once more