Before revision:  The associated Hamilton-Jacobi-Bellman (HJB) equation is expressed in the piecewise manner across different regions to take into account  constraints.
After revision:  The associated Hamilton-Jacobi-Bellman (HJB) equation is expressed in the piecewise manner across different regions to take into account all constraints.