speed improvement (initial mesh is not readed from file)