change calculation method of letter position