update compatibility for XDATCAR files with vasp 5.XX versions