Your foundation may not be the problem. Leveling floor joist with shims if you have an uneven floor you may need to think about leveling floor joists with shims. Instead it may be an issue with joists and beams below your floor that require shoring up.