Adaptive crossing numbers and their application to binary downsampling