prototype to determine splits sizes