Fixed baseLineSearch