added pixel smoothing for zero vals