implement bitstring algorithm selection behaviour