energy output fixed
bounding box option added