Adding indexes to created master tables