added quad creation and early feature point selection