Yes, `stepSize` is a percentage of window size, not a pixel value.That is why it is double and not int.