try to reduce memory usage of mcl clustering

leaving out all edges with weight 0 and doing some garbage collection