New mtt_getsize to replace bc