Originally Posted by Zheka
The manual does not mention this, but NumSampleCycles should be placed before asset() call.

Thanks a lot man, that did the trick.