Increase max image depth to 127