Resolving problems with generation of bezier points