bugged version, fix on bigmem in progress