bug fix for when projecting from a small basis to a large basis