No, in fact, raising fry in a smaller tank can be beneficial in some cases. Often fry aren't able to actively hunt for food, and will only eat food that comes directly to them. So, in a smaller tank, the food is more likely to get to them and there is less risk of starvation.