Rebuilding dist