That method works even if the vise isn’t flush. Not a problem. The drawer is just held between the two jaws and the clamped piece acts just as in the drawing. An alternative is to use a bucket, stool, or other improvised jack instead of the wooden clamped pieces. This is helpful when there is a bottom and in some other cases.