reducing queue size