Genaralised downsamplinh