Added padding computation.