Critical speed-up for SHM graph simplification