Create an optimal bit sequence for the filtered approx problem