#2 make a slice with exact capacity for docs. This way should be more efficient than the implementation before.