fix spacing, and fix the bug

had to resize the last piece in order to compute the correct sha1sum