The extent of a datatype is (normally) the distance between the first and last member.
You can set an artificial extent by using MPI_UB and MPI_LB in MPI_Type_struct.