ape: Unbreak adaptcoeffs computation