More accurate scanning system for terrain roughness
Optimize the loop for the terrain roughness check