Added log scale stretching.