Man, if you bent valves again, something is not right w/ the timing of the cams, etc... You really need to have those timed correctly, otherwise you're going to keep having an issue and we'd hate to see you having to constantly go through $$$$$$....
Make sure you:
drain ALL of the oil that is currently in that engine - you don't want oil/coolant contamination
drain ALL of the coolant and replace w/ new
be sure there is NO coolant left in the cylinders
locate the online Bentley Manual (or other BMW manuals) and follow those engine rebuild instructions.
Like others have said, these engines are not just plug-n-play, you really need to read up on how to get the cams timed, how to get everything aligned nearly perfectly before starting the car - especially after doing a major head replacement. If those cams or sprockets are not timed correctly, you're going to mash valves again.
These engines are known as "interference engines" - meaning that if a timing chain breaks or the timing is not 100% correctly timed as stated in the manuals - the possibility of mashing valves into the pistons is extremely great...