loop slow down fix

excution time of command blocks in loops increases with time