Fixed quanta size bug