Non-hacky solution for resizing and initializing map