You don't need huge heaps for master nodes, maybe 3-4GB each. You can also not follow the 50%:50% rule with them as they don't need to do any filesystem caching for Elasticsearch. 8GB for the data nodes sounds ok though.
They should be the same, never set them separately but use ES_HEAP_SIZE.