Optimizing the Resource Allocation of Periodic Messages with Different Sizes in LTE-V2V