Optimized a bit

I think we can live without these very simple array_push. It will run more than twice as fast without the function reference.