- takes a long time to run - remove avoidable loops - write functions for graph operations when converting to sparse matrix format