write map packet every 100 packets according to specs