bounderies tranfer and x-z axes corrected