reduce matrix since while we refactor linkst