algorithms are window size depend
first integration step - copy paste - nothing is working
First integration trial