262: renamed constants to upper case and pre-computed values for them