bezier approximation