Cancel/Replace and Commission

Imported from previous forum

With a Cancel/Replace message, How will a typical broker deturmine a commission level? Using the outstanding shares or the tot al shares for an order?