Improve H2 frame decoder