[Pebbles 003] building map writing