A Memory Efficient Graph Kernel