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