lattice_point.cc: add ceiling function