[Granite 002] building map writing