prepare to generate heat map