fix graph
test speed