Rewrite #3 of machine block placement. This is based somewhat on the