minor GC optimization
Merge pull request #3 from anton-povarov/master

minor GC optimization