Extensions and Mast bases