IComStat v1.1 and Arduino UNO -- Question about SMS

Hello forums! I need some assistance, I've looked just about everywhere on the internet and I can't seem to find it;

So, I'm looking to understand where SMS messages are stored on the sim card. In the code to read SMS in the libary of GSMSHIELD;

     if(started){
       if(gsm.readSMS(smsbuffer, 160, n, 20))
       {
         Serial.println("Checking for Text Messages...");
         Serial.println(n);
         Serial.println(smsbuffer);
       }

The question is, what is the formula or how do I figure out where SMS messages are stored? Thanks.

Edit:
Heres a little more information on the product i'm having issues with.

This is the data sheet:

ftp://imall.iteadstudio.com/IM120417009_IComSat/DS_IM120417009_IComSat.pdf

This is the product information:

http://imall.iteadstudio.com/im120417009.html

Hi,

Normal GSM technology stores some sms data on the SIM card itself, then via hardware/software store a copy or the rest of the data on the device such as a phones internal or external memory, therefore maybe your carrier can tell you how much data does your sim stores and then work around those numbers, since the I presume the smsbuffer reads that allocated space on the sim card at some point in the libraries, this also means that if you want to expand the memory allocated for the sms' you might want to consider to use a microSD module or such, then copy and empty the buffer.