Helpfull callback to form intervals from proplists