Removed elements from an array so that we only take the top 100 (or if
there are less than 100 elements, it does not remove any).