WIP - alpha histogram algorithm