[IMP] space optimization