trival optimization