started allocation alghorithm