reduce & document memory use
new version - lower memory use, docs