Tentative to use distance functions and to define a smooth union.