This should actually cure the "stack overflow" reported earlier (and was worked around by increasing the size of the buffer).
pairs to the compressed one that matt wrote.