write visit depth stats to queue