update predicting code. graph_predict2b is faster but less good