revert back a calculation memory size from 'map' to 'index'