changed Vector xInt to xi (also y and z)