getObjectSize adjusted