BIT algorithm added