store positions of entities in map