started implementing c++ version of adaptive windows. Not spesific to
KMC, so this will probably get its own repo when its done.