[si] smooth density only if gradient is positive in at least one cell