medial axis :
split the medial axis computation and the code test.