Algorithms of map construction based on GPS traces