i nodded to him , and walked off across a muddy space where a gang of workers was fitting heaps of river stones into carefully raked beds of sand , adjusting their positions with whacks of a wooden mallet .