Build out of longmath class