Add more debug trace to find out why links creation is less than expected.