ignore terminal gaps when comparing sequences..