verified with h=4