Added timing of building data structure