High speed VLSI architecture for finding the first W maximum/minimum values