Cut excess variables