Updated the burrow refining algorithm for long burrows