added particular corner case to z transitions