Add texture pack algorithm .