Update shaping-regions.cpp