mini-oof to support sizeof