Fixed bug when Y value wasn't same size in bytes as the prime polynomial.

This lead to an unfortunate situation where sometimes things couldn't be recovered because a "00" prefix was missing.