degenerate bases are now handled properly