optimized some link constants
removed unnecessary buffer from link layer