memory optimization
readme update