Removed doc length adjustment