Boolean array cleanup; multidimensional reductions