Optimize the extendlist