resize edge buffer to bix for 10 bits