Metacentre and stability of wooden block