link features_length correctly