Changed argument order for downsample