queue array without growth working