Adding downsampling, is not working.. but i want other team members to try to compile it