shor.maxvalue removed