last version of placement optimizer