Ticket #2627. Just pass the array over no need to traverse it