Fixed usage message and logic error in placement code.