lib/classifier: Support variable sized miniflows.