Faster laplacian code