Pixel size gets reduced if planes are tilted
improved XML read

added comments