do bad pixel check only if number of bp > 0
(#20)