adding time for the loop unrolled djikstra's code