flush data before recreating the nextSpot array