use custom primitive list in map
trying to use compact heap referencing