I'm rewriting the amount class in beem for using fixed-point arith...