4Sum: use multiple hash maps