Implemented bilinear 2x downsampling.