Added first implementation for calculate the first hour row