Reactivated old code for finding rough ground line