fixed hamming bug in hybrid_creation