Removed old "constmap" from wreduce code