moved size to region.size