refactoring QueueMax into MaxLength
Merge remote-tracking branch 'origin/master'