Melendez prepared for third bout with Thomson