Monotonic queue optimizes DP with window constraints. But some DPs have a different constraint: "use exactly elements". Aliens Trick (WQS Binary Search) handles this.
Instead of fixing , we add a penalty per element and binary search on . The idea: with the right penalty, the unconstrained optimum naturally uses exactly elements. This is a effective meta-technique. It transforms constrained problems into simpler unconstrained ones.