Implement efficient n-tupling decode (not very efficient tho...)