Added gzip compression to translate method. Add method to prune search graph