quasi-hamilton decomposition