Recursive version of brute force allocator, not quite finished yet

Need to revisit after night of sleep