Revert "Reduce stack usage of other WalkMap recursive algorithm"

This reverts commit ef67abf4660443daaf56b061dfdfaf25b0bb6cde.