Added checks for size_t assignemnt.