check for RI size