Accurate calculation to fit to different link prefix length such as [84] [120]