Adjust rest_length