small change in calculating the lod odd