how does a flotation plant work