fix issue #263, ConstantFunctionByRegion
Merge pull request #268 from vlukes/i263