Added workaround for undefined length on implicit little endian