diagonal slice based scoring added