add first() and last() to b.Array