setZ works with contraints now