math.ceil() is very slow

see http://imgur.com/nT62QYQ
math.ceil is almost 100% of the cpu cost of pipePowerWood and transport.pipeTransportPower
(full nps from 
https://www.dropbox.com/s/01ywgc8lnyr2es2/1361111585024.nps?dl=1
several hundred k items extracted from ex-dim barrels, sent to a set of act's, crafted to blocks, and then sent back to barrels.

sendStack->queueRoutedItem() is to do with logistics HUD display, and is being worked on lag-wise also.)
Merge pull request #640 from AartBluestoke/patch-6

math.ceil() is very slow
Merge pull request #641 from AartBluestoke/upstreamMaster

cache the IRecipe
Merge pull request #646 from AartBluestoke/upstreamMaster

check for null recipe