Uses less stack-intensive map in renderTasks