Check endian more carefully. And print some info at converting.