Fix #15

Fix issue #15 in an easy fashion. Not the most elegant or efficient way, but it solves the problem it is not expected th have that much data, so the performance loss and memory overhead are likely to be negligible. The memory is not freed on purpose since the program always exits without loosing the reference.