selected[nTile]=(last_scan.selected[nTile]||expanded[nTile])&&!Double.isNaN(disparity[nTile]);// selected by refine and new java.lang.NullPointerException
/// selected[nTile] = (last_scan.selected[nTile] || expanded[nTile]) && !Double.isNaN(disparity[nTile]); // selected by refine and new java.lang.NullPointerException
selected[nTile]=(last_scan.getSelected()[nTile]||expanded[nTile])&&!Double.isNaN(disparity[nTile]);// selected by refine and new java.lang.NullPointerException