Support trimming trailing zeros to save on space