renaming bbox.extends to bbox.extendSize for better compatibility