updated adjust_spines()