a tool progressively approximate optimal alignment