use reducers to try and decrease time to generate large maps. didn't really work