Added a map.localSize method