KD Tree did not read the correct positions in columns