getting as hop correct, but the memory cost is too high.