Fixed bug with creating Instances which caused sparse instances not to
work properly and decreased accuracy by 5-10%