refactoring: BigEndian.hs