Improve performance : Dictionary to List<bool>[]