Ho-Kashyap algorithm.doc