createCycles was superfluous (removed) + templated kernelNode functions