fix size calculations in unfs