Abstracts padRect util method