Improved handling of extended product codes