varcuts function

Split on static or dynamic cuts of the data