fix bug where already down-sampled mask was getting down-sampled a second time