Alternative inner class, use of static.

We shoud also drop the hardcoded 0x80 number before merging to wtsi-npg/devel (and fit in with Picard)