Added a missing SameZCordinate[temp]