resizes mats before using them