Faster spade implementation and integration with flowdata