initial version of hoeffding algorithm