tweaking the core data migration algorithm