[overlay][enrich] avoid copies of operation/ids by using const*
[overlay][enrich] rename index to turn_index and make indices std::size_t