Optimize onject container.