Improved gather implementation

A new gather implementation using get instead of push to avoid the loop has been added.
Tested with 4p.