Optimising uncertainty in physical sample preparation.