Created flow index and set it as root.