Merge "Support rectangular tx_size in the common lib" into nextgenv2