Up to 5

Added cases of different beta. Still a bit weird result.