Implement spectrum vector compression