decrease memory consumption during import
Merge pull request #154 from Xodarap/master

decrease memory consumption during import