still not perfect as specifying ticks does not guarantee that as many ticks will be generated so YMMV