Get finite support for gem

@lileicc