Make the engine smart enough to infer the right block size

This seems to work pretty well for the event based calculator:
https://bugs.launchpad.net/oq-engine/+bug/1183329