cumulate should be used instead of variable window