updated the CLCA mapping algorithm