Slightly improved y-transitioning