Reducing memory foot-print