r1910@llin: dpavlin | 2009-05-30 22:30:07 +0200 wrap everything into trasaction for nice speedup (10x) and don't store all data in memory