The best way to maximize being bought out may simply be to sell straight away and "walk". The time it takes for deals to pend and actually go through so you can get your new shares may take months so.
At the time the buyout is announced the stock price of the purchased company skyrocket to their newly found value. I say sell right then and there and move on.
The only advantage of not selling and holding on are the capital gains taxes. Any sold stock for a profit must be accounted for with the gov

.