Fix collisions when several [BB]'s are applied together