recursize algorithm working, still need placement