Pātuhitia tēnei: Bidirectional optimality theory