split limit func.