Optimal Sample Size Determination In Adaptive Seamless Phase Ii/Iii Design