Optimize initData for root defined case