Should fix the endian issue (resizing small numbers resulted in zero)