Remove one of the loop when posting new data; calculations are done the same time...