Preparing wood for cuboards