Faster initialization from set using LUA script