Avoid array creation for actions, instead push a tuple and iterate by 4