Could you explicitly set a default value for use_kmpp inside the init method? In this way we make sure there will be no problem at all due to uninitialised memory.