Some changes regarding basis expansion