updated size and hash calculation for partials