* inline a few more methods to speed calculation.