Fixed a bug with very small instances