Replaced maximum word length magic number with constant