some memory usage optimization is done