JAL-3205 faster calculation with symmetric score matrix