ADDED: forgotten 'mask' needed for the Burnikel-Ziegler algorithm