Improve range-for-padding.