Btw. @rgoj of cours this approach is perfectly valid, since we don't use a progredient succession of intervals. Also it's pretty simple + explicit -- sorry for over-reviewing. Still we could think about a window maker in utils.