gaurd against 0 or 1 length lists in jenks