ModeMeanBucket and LargestTriangleThreeBucket algorithms.