In lattice quantum field theories with topological sectors, simulations at fine lattice spacingswith typical algorithms -tend to freeze topologically. In such cases, specific topological finite size effects have to be taken into account to obtain physical results, which correspond to infinite volume or unfixed topology. Moreover, when a theory like QCD is simulated in a moderate volume, one also has to overcome ordinary finite volume effects (not related to topology freezing). To extract physical results from simulations affected by both types of finite volume effects, we extend a known relation between hadron masses at fixed and unfixed topology by additionally incorporating ordinary finite volume effects. We present numerical results for SU(2) Yang-Mills theory.