add support for variable sized origins for getArea() function
work on support for variable sized content