Estimate required bits.