We should change n.complement() to n.toComplement(), then just inline the reversal. Seems wasteful to do so much allocation for something so simple.