Add comments about buffer_size argument
[BUG FIX]Duplicate extensions before freezing