padding resolution agnostic.