xiao Wei Cache matrix