curve rendering working for 0 splits. not working for more than that