line memory management more efficient