Added loop blocking and peeling