Vailo and Jones Algorithm