doc: fix calculation, padding should be ok now.