Modify error on bit calculation