rescaling demo