Added factor to downsample shapefiles