Added test case where g.interval == 0.