Data formatting to improve error detection correction capability