binary search
adjusted packages