build by shape