Improved the composition speed by compiling it into argument call

...ed unsafe thread code.