added constants to subdivide curve into 8 curves