new funcition for non-integral scale decimation