Added B-Visit and SBT algorithms