added a little test prog for memory size measurements