1. DOM Frontier computation 2. Placing Phi Functions