Much better bezier solver