optimise APSP and matrix norming further.