Nsoperation fix

Related to #86 allocation problems.

Here screenshot from profiler.
![2014-12-24 12 25 20](https://cloud.githubusercontent.com/assets/443972/5547368/859626a6-8b69-11e4-896e-11e920437999.png)