* Fix a problem with the first sample when down sampling.