Optimizations and conceptual error fix (SNP cause the exchange of both bases)