Opal contingency tables improvements