Implemented resizing of coefficients.