- core: added check min/max values in type 'int'