Fixed nth algorithm.