fixed IndexOutOfBounds(0)
updated queue removal speed