Calling rescale_dir recursively for each directory found