add down sampling