So then the cap for dividend payments to shareholders is 20Mh/s per share. The excess will be used for electricity and buybacks.
As I understand, no such cap exists. The company simply owns shares in itself. The rest are "outstanding shares" which pay out dividends.