Made it even smaller and with less iterations