Added my_size_of() function to seg.c/h to wrap the dereference operation.