implementation of straight skeleton algorithm, work in progress.