Change when we check tick to be more efficient.