simplify the bin width calc