use segments instead of ticks.