OASIS: One-pass aligned atlas set for medical image segmentation