first compilable version of VectorizedBackTrackLineSearch, needs a review