refactor coord convert and place ship