reduce map size; needs variable resizing