Gửi tin nhắn: A general method for the optimal synthesis of mechanisms using prescribed instant center positions