The Bin Packing Problem with Precedence Constraints