added rescale dist to git and continued fixing dist out