Added a function to estimate total size and current position in isamb