For schemes that do an automatic partition aligning move this code to
separate function.

MFC after:	1 week