optimize 2048Model.cs