fix "bit per int" calculation