Optimization on Burst Allocation in D2DWRAN