Volume.cc: message maps

the diffstat speaks for itself.
any suggestions for improvement?  i agree that this method has a tricky logic, at least i failed to find a way to dramatically reduce the wtf factor.