https://github.com/fogleman/simplify