Optimize flipped index initialization