Fixed the downsampfac value.