adjust text length calculator with current project setting (its not good, through)