(temp commit) simplify object size calc
(temp commit) more work