calculate size of ramiso