EM-FGS: Graph sparsification via faster semi-metric edges pruning