Optimizing boundary detection via Simulated Search with applications to multi-modal heart segmentation