add compressed pubkeys support