Massive speed increase for special laplacian invariant.