fix
fixed efficiency in the last bin (accessing overflow leading to zero weight