Water repellency and dimensional stability of wood