create curve with two half-parabola