[Sand 003] building map writing