Improved the composition speed by compiling it into argument call

This allowed us to be thread safe (bug fix).