Added floor and ceil macros, and used them.
Continued about obtaining far links from local links.