Optimize initialization