Small improvements to binnewz : preliminary range handling