use queue for delete boxes