memset instead of foreach
Measure time ellapsed during scene building