Added debug info on solution_x to detect an out of bound except