Doublet method for very fast autocoding

Doublet method for very fast autocoding