updating total length of piece... shortening.