add offset method to bbox