Attenpt to improve performance of AE auto-crafting.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>