Decreased queue size
Add clone()
Removed extra HashMap