1a done, about to check whether it is still a

signed distance function