Added calculation for how many bits gets leaked