Optimization: only rebuild mesh data when scaling