Restored line assigning a value to local variable optimalSize in the case where last character doesn't initially render.