Add comments to triangle contraction