Introduced completely new and optimized algorithm for calculating next Tick.