completely path compression