Used map on fix render loop
optimize memory usage