Device-to-Device Channel Allocation based on Neighborhood Information