BUG: initialize binary masks, when available