So apparently GAE does not like math.floor