-switched back to vector for the entities since the map turned out to be
hard to sort
+all entities are now sorted by the distance from the beginning
-entities now can have only positive coordinates