reduced number of render calls