improve checking region mapping