smallest and largest bits