Self-consistent gradient flow for shape optimization. (4th July 2017)