[Sand 002] building map writing