fix bigint/bigfloat memory sizes