Added comment about running time of inner loop